import React, { useEffect } from 'react';
import { observer, inject } from "mobx-react";
import AssertTableCommon from "../../../../../common/tableCommon/components/AssertTableCommon";
import assertParamTestStore from "../store/AssertParamTestStore";
/**
 * 测试页
 * 断言表格
 */
const AssertParamTest = (props) =>{
    const {
        getAssertTestList,
        assertParamTestList,
        saveList,
        addNewList,
        deleteList,
    } = assertParamTestStore;

    useEffect(()=>{
        getAssertTestList()
    },[])

    return (
        <>
            <div className={"ws-table-title-box"}><span className={"ws-param-title"}>断言</span></div>
            <AssertTableCommon
                dataList={assertParamTestList}
                saveList={saveList}
                addNewList={addNewList}
                deleteList={deleteList}
            />
        </>
    );
}


export default observer(AssertParamTest);